MailPoet\Form\DisplayFormInWPContent A

Total Complexity 56
Dependencies 9
Dependents 4
Total lines 262
Lines of code 154
Logical lines of code 107
Comment lines 37
Methods 12
Properties 7

Methods 12

Method Rating Maintainability Complexity Lines of code
shouldDisplayFormType()
A
52 12 23
getContentBellow()
A
45 7 40
shouldDisplayFormOnPost()
S
59 6 13
shouldDisplay()
S
62 6 10
display()
S
60 5 13
filterOneFormInEachDisplayType()
S
63 4 11
shouldDisplayFormForWPUser()
S
65 4 9
shouldDisplayFormOnCategory()
S
69 4 6
shouldDisplayFormOnTag()
S
69 4 6
getForms()
S
62 2 11
__construct()
S
65 1 9
saveNoForms()
S
80 1 3